-
Notifications
You must be signed in to change notification settings - Fork 151
Add JMH benchmarks to jsonrpc #929
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This commit adds some basic benchmarks to serve as a starting point for future benchmarking work. On the CI we build the benchmarks, but we don't run them.
|
It is very useful to have some benchmark infrastructure like this ready to use. However regarding JMH I'd like to point out that it is GPL licensed. I once tried to add JMH benchmarks to TM4E but it was rejected by the project lead for legal concerns at the time. Maybe better check with Eclipse Legal team first. |
|
@sebthom may I ask why? Jmh is distributed under GPL v2 with classpath exception. Also adding jmh plugin does not add jmh itself to the redistributed package, so it should be fine. But I'm not a lawyer. |
|
Me neither, that was the PR eclipse-tm4e/tm4e#389 I just wanted to bring this to attention. Maybe it is not a problem after all. |
|
The IP team have previously reviewed and accepted use of JMH, ref: iplab search results - we may not be able to redistribute jmh parts, but since we don't want to do that, we are ok to proceed here. |
pisv
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @jonahgraham for this valuable addition to the project! 👍
I have followed along with instructions in benchmarking.md and everything works as expected.
|
I have changed this to draft until I get unanimous consent or Eclipse Foundation feedback on this. See eclipse-tm4e/tm4e#389 for the ongoing discussion. |
|
Discussion in eclipse-tm4e/tm4e#389 resolved. We are all in agreement that JMH is currently OK to use. I'm going to merge this now so that dependent work can continue. |
This commit adds some basic benchmarks to serve as a starting point for future benchmarking work.
On the CI we build the benchmarks, but we don't run them.